package com.heima.article.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * APP点赞行为表
 * </p>
 *
 * @author PG
 * @since 2021-11-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ApLikesBehavior implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 设备ID
     */
    private String equipmentId;

    /**
     * 文章ID
     */
    private Long articleId;

    /**
     * 点赞内容类型
            0文章
            1动态
     */
    private Integer type;

    /**
     * 0 点赞
            1 取消点赞
     */
    private Integer operation;

    /**
     * 创建时间
     */
    private Date createdTime;


}
